package com.springai.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("school")
public class School implements Serializable {
 private static final long serialVersionUID = 1L;
 /**
  *
  主键

  */
 @TableId(value = "id", type = IdType.AUTO)
 private Integer id;
 /**
  *
  校区名称

  */
 private String name;
 /**
  *
  校区所在城市
  */
 private String city;
}
 
